'use strict';

/**
 * Author: ZT
 *
 * 统一管理js
 * */

require.config({
        baseUrl: "/statics/js/public/",
        urlArgs: 'v=1.0.2',
        waitSeconds: 50,
        paths: {
                /*公共方法*/
                'jquery': ['jquery-1.12.0.min'],
                'axios':['axios'],
                'bootstrap':['bootstrap.min'],
                'Qs':['qs.min'],
                'connect_api': ['connect'],
                'lazy': ['lazyload.min'],
                'let_it_snow':['jquery.let_it_snow'],
                'main':['/statics/js/main_index'],
                'index':['/statics/js/main'],
                'header':['/statics/js/header'],
                'js_share':['jquery.share.min'],
                'qrcode':['jquery.qrcode.min'],
                'category':['/statics/js/category'],
                'detail':['/statics/js/detail'],
                'motion':['motion'],
                'travel_index':['/statics/js/travel_index'],
                'comment':['/statics/js/comment'],
                'right':['/statics/js/right'],
                'api':['/statics/js/api'],
                'html-template': ['html-template-engine'],
        },
        shim: {
                'axios': ['Qs'],
                'lazy': ['jquery'],
                'connect_api': ['jquery'],
                'let_it_snow':['jquery'],
                'main':['let_it_snow'],
                'header':['jquery'],
                'motion':['jquery'],
                'index':['bootstrap','lazy','connect_api','api','html-template'],
                'category':['jquery'],
                'detail':['connect_api','api','js_share','html-template'],
                'comment':['connect_api','api','motion','html-template'],
                'travel_index':['jquery'],
                'js_share':['jquery','qrcode'],
                'right':['jquery'],
        }
});